
package com.jf.cloud.multishop.dto;

import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotBlank;

/**
 * @author zz
 * @Date 2021/4/25 16:44
 */
public class ShopBankCardDTO {

    @Schema(description = "主键id" )
    private Long shopBankCardId;

    @Schema(description = "店铺id" )
    private Long shopId;

    @Schema(description = "银行名称" )
    @NotBlank(message = "银行名称不能为空")
    private String bankName;

    @Schema(description = "银行开户行" )
    private String openingBank;

    @Schema(description = "账户名" )
    @NotBlank(message = "账户名不能为空")
    private String recipientName;

    @Schema(description = "账号" )
    @NotBlank(message = "账号不能为空")
    private String cardNo;

    @Schema(description = "支行名称" )
    @NotBlank(message = "支行名称不能为空")
    private String branchName;

    @Schema(description = "是否默认 1:默认 0:非默认" )
    private Integer isDefault;

    public Long getShopBankCardId() {
        return shopBankCardId;
    }

    public void setShopBankCardId(Long shopBankCardId) {
        this.shopBankCardId = shopBankCardId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getRecipientName() {
        return recipientName;
    }

    public void setRecipientName(String recipientName) {
        this.recipientName = recipientName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getOpeningBank() {
        return openingBank;
    }

    public void setOpeningBank(String openingBank) {
        this.openingBank = openingBank;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    @Override
    public String toString() {
        return "ShopBankCardDTO{" +
                "shopBankCardId=" + shopBankCardId +
                ", shopId=" + shopId +
                ", bankName='" + bankName + '\'' +
                ", openingBank='" + openingBank + '\'' +
                ", recipientName='" + recipientName + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", branchName='" + branchName + '\'' +
                ", isDefault=" + isDefault +
                '}';
    }
}
